<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人中心</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<!-- jQuery文件。务必在bootstrap.min.js之前引入 -->
		<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		
		<link rel="stylesheet" href="__STATIC__/jcweb/css/base.css" />	
		<link rel="stylesheet" href="__STATIC__/jcweb/css/my.css" />
		<script src="__STATIC__/jcweb/js/utils.js"></script>		
		
		<script>
		var apihost = "{$apihost}";
		</script>
		{include file="public/wxopera" /}
	</head>
	<body>
		{include file="public/footer" /}	
			<section class="sectionContent">
			
			
			<div class="mytitle">
				<img src="{$users['imgurl']}"/>
				<div style="">
					昵称: <font>{$users['nickname']}</font><br />
					会员: <font>{$users['id']}</font>
				</div>
			</div>
			<div class="flex v-center h-center mydiv2" >
				<div class="flex-1">
					
					<img src="__STATIC__/jcweb/img/bg-26.png" class="imgicon1"/>
					<div class="divicon1">
						<font class="myyue" style="color: #000000;">余额:</font> ￥<font>{$users['money']}</font><br />
						<div onclick="openQr()">兑换</div>
					</div>
					
				</div>
				<img  src="__STATIC__/jcweb/img/bg-25.png" style="height: 30px;"/>
				<div class="flex-1">
					<img src="__STATIC__/jcweb/img/bg-27.png" class="imgicon2"/>
					<div class="divicon2">
						<font style="color: #000000;">佣金:</font> ￥<font>{$yj}</font><br />
						<div onclick="openQr()">兑换</div>
					</div>
				</div>
			</div>
			<style>
				.mydiv1 a{
					color: black;
				}
			</style>
			<div class="mydiv1" >
				<a href="{:url('Index/payhistory')}">
					<div class="mymenu">
					<font >充值记录</font>
					<div class="mymunediv">查看</div>
				</div>
				
				</a>
				
				<div class="myline"></div>
				
				<a href="{:url('Index/duihuan')}">
					<div class="mymenu">
					<font >兑换记录</font>
					<div class="mymunediv">查看</div>
				</div>
				
				</a>
				
				<div class="myline"></div>
				<a href="{:url('Index/yjhistory')}">
					
				<div class="mymenu">
					<font >佣金记录</font>
					<div class="mymunediv">查看</div>
				</div>
				</a>
				<div class="myline"></div>
				
				<a href="{:url('Index/mytuijian')}">
				<div class="mymenu">
					<font >线下成员</font>
					<div class="mymunediv">查看</div>
				</div>	
				</a>
				
				<div class="myline"></div>
				
				<a href="{:url('Index/jchistory')}">
					
				<div class="mymenu">
					<font >竞猜记录</font>
					<div class="mymunediv">查看</div>
				</div>
				</a>
				<div class="myline"></div>
				<div class="mymenu" style="height: 26px;" onclick="showPayDialog()">
					<font >余额充值</font>
					<div class="mymunediv">充值</div>
				</div>
			</div>		
		</section>	
		
        {include file="public/paydialog" /}


		<div id="withdrawDeposit" class="fill-all dialog2 flex v-center h-center">
			
				<div class="popbox2">
					
					<img src="{$qr}" style="width: 135px;margin-top: 35px;"/>			   
				    <div style="margin-top: 25px;">
				    	<font style="font-size: 30px;">扫码兑换</font><br />
				    	<font style="">扫码加好友,立即兑换</font>
				    </div>
				    
				<div class="text-center" style="margin-top: 30px;">
					<img src="__STATIC__/jcweb/img/bg-19.png" style="width: 30px;" onclick="closeQr()"/>
				</div>
				</div>
		</div>
        <script>
        	function closeQr(){
        		$("#withdrawDeposit").css("visibility","hidden");
        	}
        	function openQr(){
        		$("#withdrawDeposit").css("visibility","visible");
        	}
        </script>

	</body>
</html>
